/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: Sam
 * @Date: 2022-05-05 10:14:17
 * @LastEditors: Sam
 * @LastEditTime: 2022-05-05 11:18:53
 */

import Layout from '@/layout'

export default {
 alwaysShow: true,
  path: '/score',
  component: Layout,
  redirect: 'noRedirect',
  name :'score',
  meta: {
    title: '积分商城',
    icon: 'el-icon-s-goods', 
    roles: [
      'score'
    ]
  },
  children: [
    { path: '/score/index', component: ()=>import('@/views/score/index'), name: 'score_index', meta: { title: '商品列表',roles: ['score.index'] }},
    { path: '/score/log', component: ()=>import('@/views/score/log'), name: 'score_log', meta: { title: '兑换记录',roles: ['score.exchange_log'] }}
  ]
}
